package com.lc.jpa;

import javax.persistence.PrePersist;

public class UsersListener {

	@PrePersist
	public void saveListener(Users user) {

		System.out.println("实体监听器说:当前保存用户名为" + user.getName());

	}

}
